package com.fh.shop.admin.controller;

import org.springframework.stereotype.Controller;

import javax.servlet.http.HttpServletRequest;

public class FilePathController {
    //封装转换绝对路径
    protected String getRealPath(HttpServletRequest request,String path){
        return request.getServletContext().getRealPath(path);
    }
}
